package com.oocl.common.model;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonView;

public class ResponseBean implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@JsonView(Views.class)
	private String status;

	@JsonView(Views.class)
	private String message;

	@JsonView(Views.class)
	private Object result;

	
	public ResponseBean(){};
	public ResponseBean(String status) {
		this.status = status;
	}

	public ResponseBean(String status, String message) {
		this.status = status;
		this.message = message;
	}

	public ResponseBean(String status, String message, Object result) {
		this.status = status;
		this.message = message;
		this.result = result;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}
	@Override
	public String toString() {
		return "ResponseBean [status=" + status + ", message=" + message
				+ ", result=" + result + "]";
	}
	
	
}
